package vn.njai.thousand_english_word.Entities;

import android.graphics.Color;

import java.util.Random;

public class HistoryNodeItem extends NodeItem {
    private String TAG = "HistoryNodeItem";
    public boolean mIsShow;
    public HistoryNodeItem(){
        mWord = "Word";
        mPhonetic = "Phonetic";
        mMeans = "Từ";
        mRank = 0;
        mRemember = 0;
        mType = "";
        mIsShow = false;
        mColor = Color.rgb((new Random()).nextInt(150),(new Random()).nextInt(100),(new Random()).nextInt(50));
    }

    public HistoryNodeItem(NodeItem nodeItem){
        mWord = nodeItem.mWord;
        mPhonetic = nodeItem.mPhonetic;
        mMeans = nodeItem.mMeans;
        mRank = nodeItem.mRank;
        mRemember = nodeItem.mRemember;
        mIsShow = false;
        mType = nodeItem.mType;
        mColor = Color.rgb((new Random()).nextInt(150),(new Random()).nextInt(100),(new Random()).nextInt(50));
    }

}
